package org.eweb4j.mvc.interceptor;

import org.eweb4j.mvc.Context;

public abstract class Interceptor {
	protected Context context;

	public Context getContext() {
		return context;
	}

	public void setContext(Context context) {
		this.context = context;
	}

	/**
	 * 
	 * @param uri
	 *            运行期访问的 URI users/32
	 * @param httpMethod
	 *            运行期访问HTTP的请求方法 POST|GET|PUT|DELETE
	 * @return
	 */
	public abstract String intecept();

}
